import request from '../utils/request'




//获取首页的api
export function getDrug(params){
  return request({
    url:'getDrugMock',
    method:'get',
    params
  })
}
export function creasePhang(params){
  return request({
    url:'creasePhang',
    method:'get',
    params
  })
}

//删除单个
export function removeDrug(params){
  return request({
    url:'/removeDrug',
    method:'post',
    data:params
  })
}
//添加
export function creasefun(params){
  return request({
    url:'/creaseDrug',
    method:'post',
    data:params
  })
}
//添加2
export function addfun(params){
  return request({
    url:'/addDrug',
    method:'post',
    data:params
  })
}